<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <title>SHOPLOOK ADMIN</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <th:block th:include="commons/css::css"></th:block>
</head>

<body class="flat-blue login-page" style="height: 50%;">
<div class="container">
    <div class="login-box">
        <div>
            <div class="login-form row">
                <div class="col-sm-12 text-center login-header">
                    <i class="login-logo fa fa-connectdevelop fa-5x"></i>
                    <h4 class="login-title">SHOPLOOK</h4>
                </div>
                <div class="col-lg-12">
                    <div class="login-body">
                        <div class="progress hidden" id="login-progress">
                            <div class="progress-bar progress-bar-success progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
                                Log In...
                            </div>
                        </div>
                        <form method="post" name="loginForm" id="loginForm" th:action="@{/user/login}" class="form-horizontal" role="form">
                            <div class="form-group">
                                <div class="col-sm-12">
                                    <input type="text" required class="form-control" id="userName" name="userName"
                                           placeholder="请输入用户名">
                                </div>
                            </div>

                            <div class="form-group">
                                <div class="col-sm-12">
                                    <input type="password" required class="form-control" id="password" name="password"
                                           placeholder="请输入密码">
                                </div>
                            </div>

                            <div class="login-button text-center">
                                <input type="button" class="btn btn-primary" value="Login" name="login-btn">
                            </div>
                        </form>
                    </div>
                    <div class="login-footer">
                        <span class="text-right"><a href="#" class="color-white">Forgot password?</a></span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<th:block th:include="commons/js::js"></th:block>
<script type="text/javascript" th:src="@{/public/js/login.js}"></script>
</body>

</html>
